package com.hisense.hiioc.hismartplate.server;

/**
 * @Author: almo
 * @Date: 2018/12/6 上午11:29
 * @Version 1.0
 */
public class Proto<T> {

    private int protoCode;
    private String protoCmd;
    private T extension;

    public Proto(int protoCode, String protoCmd) {
        this.protoCode = protoCode;
        this.protoCmd = protoCmd;
    }

    public int getProtoCode() {
        return protoCode;
    }

    public void setProtoCode(int protoCode) {
        this.protoCode = protoCode;
    }

    public String getProtoCmd() {
        return protoCmd;
    }

    public void setProtoCmd(String protoCmd) {
        this.protoCmd = protoCmd;
    }

    public T getExtension() {
        return extension;
    }

    public void setExtension(T extension) {
        this.extension = extension;
    }
}
